﻿using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Orleans;

namespace IOP.Orleans
{
    /// <summary>
    /// 奥尔良服务构建者
    /// </summary>
    public interface IOrleansServiceBuilder
    {
        /// <summary>
        /// 服务集合
        /// </summary>
        public IServiceCollection Services { get; }
        /// <summary>
        /// 客户端
        /// </summary>
        public IClientBuilder ClientBuilder { get; }
        /// <summary>
        /// 主机构建者上下文
        /// </summary>
        public HostBuilderContext HostBuilderContext { get; }
    }
}
